package forQuest;

public class Demo02 {
    public static void main(String[] args) {
        //用for实现1-1000中能被5整除的数，并一行显示3个
        for (int i = 1; i < 1000; i++) {
            if(i%5==0){
                System.out.print(i+"\t");
            }
            if(i%(5*3)==0)
            {
                System.out.println();
            }
        }
    }
}
